﻿using ProjectManageSystemApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ProjectManageSystemApi.Services
{
    public interface ISystemServices
    {
        SysUpgradeDto CheckUpdate(string appName);
        bool ExistByAppNameAndInsideNo(string appName, int versionInsideNo);
        bool Create(SysUpgradeDto sysUpgrade);
        bool ExistId(uint id);
        bool Del(uint id);
        Models.PageVo<IEnumerable<SysUpgradeDto>> GetAll(PageBo<SysUpgradeParams> pageBo);
    }
}
